package com.dfbz.demo01;

import java.io.IOException;

/**
 * @author lscl
 * @version 1.0
 * @intro:
 */
public class Demo01 {

    public static void main(String[] args) throws IOException {
//        Runtime runtime=new Runtime();

        Runtime runtime = Runtime.getRuntime();
        System.out.println("总的内存: " + runtime.totalMemory());
        System.out.println("最大的内存: " + runtime.maxMemory());
        System.out.println("空闲内存: " + runtime.freeMemory());


//        A a = new A();
//        a = null;


//        runtime.exec("D:\\WeChat\\WeChat.exe");

    }

}

class A {
}